package com.cswangdao.service;

import com.cswangdao.domain.dto.WXCheckoutDTO;
import com.cswangdao.domain.vo.WXCheckoutVo;
import com.cswangdao.domain.vo.WXCartIndexVo;

import java.util.List;
import java.util.Map;

public interface CartService {
    Integer getCartGoodsCount();

    Integer addGoodsToCart(Map map);

    WXCartIndexVo getCartListByUserId();

    WXCartIndexVo modifyCartCheckedStatus(Map map);

    Integer fastAddGoodsToCart(Map map);

    WXCheckoutVo getCartCheckoutVo(WXCheckoutDTO wxCheckoutDTO);

    WXCartIndexVo deleteBatch(List<Integer> productIds);

    void updateProductNumber(Map map);
}
